package edu.kaist.cs408.pof.common.model;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Reference;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: duyleekun
 * Date: 5/9/12
 * Time: 2:46 AM
 * To change this template use File | Settings | File Templates.
 */

@Entity("User")
public class KaistianVo extends UserVo {
	@Reference
	List<DishVo> favoriteDishes;

	@Reference
	List<RestaurantVo> favoriteRestaurants;

	public KaistianVo() {
		super();
		this.userType = 1;
	}

	public KaistianVo(String username, String password) {
		super(username, password);
		this.userType = 1;
	}

	public List<DishVo> getFavoriteDishes() {
		return favoriteDishes;
	}

	public List<RestaurantVo> getFavoriteRestaurants() {
		return favoriteRestaurants;
	}
}
